<%@page import="org.teacup.eightdays.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>

	<input type="hidden" id="orderItemId" name="orderItemId" value="${orderItem.orderItemId}"/>

	<p>
		<label><%=OrderItem.ALIAS_ORDER_ID%>:</label>
		<form:input path="orderItem.orderId" id="orderId" cssClass="validate-integer  text-input medium-input " maxlength="19" />
		<font color='red'><form:errors path="orderId"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_ORDER_ID%>:
		</td>		
		<td>
		<form:input path="orderItem.orderId" id="orderId" cssClass="validate-integer " maxlength="19" />
		<font color='red'><form:errors path="orderId"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_PRODUCT_ID%>:</label>
		<form:input path="orderItem.productId" id="productId" cssClass="validate-integer  text-input medium-input " maxlength="19" />
		<font color='red'><form:errors path="productId"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_PRODUCT_ID%>:
		</td>		
		<td>
		<form:input path="orderItem.productId" id="productId" cssClass="validate-integer " maxlength="19" />
		<font color='red'><form:errors path="productId"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><span class="required">*</span><%=OrderItem.ALIAS_NAME%>:</label>
		<form:input path="orderItem.name" id="name" cssClass="required  text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="name"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<span class="required">*</span><%=OrderItem.ALIAS_NAME%>:
		</td>		
		<td>
		<form:input path="orderItem.name" id="name" cssClass="required " maxlength="255" />
		<font color='red'><form:errors path="name"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><span class="required">*</span><%=OrderItem.ALIAS_CODE%>:</label>
		<form:input path="orderItem.code" id="code" cssClass="required  text-input medium-input " maxlength="100" />
		<font color='red'><form:errors path="code"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<span class="required">*</span><%=OrderItem.ALIAS_CODE%>:
		</td>		
		<td>
		<form:input path="orderItem.code" id="code" cssClass="required " maxlength="100" />
		<font color='red'><form:errors path="code"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_PRODUCT_TYPE%>:</label>
		<form:input path="orderItem.productType" id="productType" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="productType"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_PRODUCT_TYPE%>:
		</td>		
		<td>
		<form:input path="orderItem.productType" id="productType" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="productType"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><span class="required">*</span><%=OrderItem.ALIAS_PRODUCT_DESCRIBE%>:</label>
		<form:input path="orderItem.productDescribe" id="productDescribe" cssClass="required  text-input medium-input " maxlength="500" />
		<font color='red'><form:errors path="productDescribe"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<span class="required">*</span><%=OrderItem.ALIAS_PRODUCT_DESCRIBE%>:
		</td>		
		<td>
		<form:input path="orderItem.productDescribe" id="productDescribe" cssClass="required " maxlength="500" />
		<font color='red'><form:errors path="productDescribe"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_PRODUCING_AREA%>:</label>
		<form:input path="orderItem.producingArea" id="producingArea" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="producingArea"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_PRODUCING_AREA%>:
		</td>		
		<td>
		<form:input path="orderItem.producingArea" id="producingArea" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="producingArea"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_PRODUCTION_CERTIFICATE%>:</label>
		<form:input path="orderItem.productionCertificate" id="productionCertificate" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="productionCertificate"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_PRODUCTION_CERTIFICATE%>:
		</td>		
		<td>
		<form:input path="orderItem.productionCertificate" id="productionCertificate" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="productionCertificate"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_PRODUCT_STANDARD_CODE%>:</label>
		<form:input path="orderItem.productStandardCode" id="productStandardCode" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="productStandardCode"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_PRODUCT_STANDARD_CODE%>:
		</td>		
		<td>
		<form:input path="orderItem.productStandardCode" id="productStandardCode" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="productStandardCode"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_WORKS_INITIALS%>:</label>
		<form:input path="orderItem.worksInitials" id="worksInitials" cssClass=" text-input medium-input " maxlength="500" />
		<font color='red'><form:errors path="worksInitials"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_WORKS_INITIALS%>:
		</td>		
		<td>
		<form:input path="orderItem.worksInitials" id="worksInitials" cssClass="" maxlength="500" />
		<font color='red'><form:errors path="worksInitials"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_WORKS_ADDRESS%>:</label>
		<form:input path="orderItem.worksAddress" id="worksAddress" cssClass=" text-input medium-input " maxlength="500" />
		<font color='red'><form:errors path="worksAddress"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_WORKS_ADDRESS%>:
		</td>		
		<td>
		<form:input path="orderItem.worksAddress" id="worksAddress" cssClass="" maxlength="500" />
		<font color='red'><form:errors path="worksAddress"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_BURDEN_SHEET%>:</label>
		<form:input path="orderItem.burdenSheet" id="burdenSheet" cssClass=" text-input medium-input " maxlength="1000" />
		<font color='red'><form:errors path="burdenSheet"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_BURDEN_SHEET%>:
		</td>		
		<td>
		<form:input path="orderItem.burdenSheet" id="burdenSheet" cssClass="" maxlength="1000" />
		<font color='red'><form:errors path="burdenSheet"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_STORE%>:</label>
		<form:input path="orderItem.store" id="store" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="store"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_STORE%>:
		</td>		
		<td>
		<form:input path="orderItem.store" id="store" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="store"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_QUALITY_GUARANTEE_PERIOD%>:</label>
		<form:input path="orderItem.qualityGuaranteePeriod" id="qualityGuaranteePeriod" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="qualityGuaranteePeriod"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_QUALITY_GUARANTEE_PERIOD%>:
		</td>		
		<td>
		<form:input path="orderItem.qualityGuaranteePeriod" id="qualityGuaranteePeriod" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="qualityGuaranteePeriod"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_ADDITIVE%>:</label>
		<form:input path="orderItem.additive" id="additive" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="additive"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_ADDITIVE%>:
		</td>		
		<td>
		<form:input path="orderItem.additive" id="additive" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="additive"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_PACKAGING%>:</label>
		<form:input path="orderItem.packaging" id="packaging" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="packaging"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_PACKAGING%>:
		</td>		
		<td>
		<form:input path="orderItem.packaging" id="packaging" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="packaging"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_BRAND%>:</label>
		<form:input path="orderItem.brand" id="brand" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="brand"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_BRAND%>:
		</td>		
		<td>
		<form:input path="orderItem.brand" id="brand" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="brand"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_CATENA%>:</label>
		<form:input path="orderItem.catena" id="catena" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="catena"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_CATENA%>:
		</td>		
		<td>
		<form:input path="orderItem.catena" id="catena" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="catena"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_STANDARD%>:</label>
		<form:input path="orderItem.standard" id="standard" cssClass=" text-input medium-input " maxlength="100" />
		<font color='red'><form:errors path="standard"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_STANDARD%>:
		</td>		
		<td>
		<form:input path="orderItem.standard" id="standard" cssClass="" maxlength="100" />
		<font color='red'><form:errors path="standard"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_BAR_CODE%>:</label>
		<form:input path="orderItem.barCode" id="barCode" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="barCode"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_BAR_CODE%>:
		</td>		
		<td>
		<form:input path="orderItem.barCode" id="barCode" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="barCode"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_WEIGHT%>:</label>
		<form:input path="orderItem.weight" id="weight" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="weight"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_WEIGHT%>:
		</td>		
		<td>
		<form:input path="orderItem.weight" id="weight" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="weight"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_TYPE%>:</label>
		<form:input path="orderItem.type" id="type" cssClass=" text-input medium-input " maxlength="255" />
		<font color='red'><form:errors path="type"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_TYPE%>:
		</td>		
		<td>
		<form:input path="orderItem.type" id="type" cssClass="" maxlength="255" />
		<font color='red'><form:errors path="type"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><span class="required">*</span><%=OrderItem.ALIAS_COST%>:</label>
		<form:input path="orderItem.cost" id="cost" cssClass="required validate-number  text-input medium-input " maxlength="12" />
		<font color='red'><form:errors path="cost"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<span class="required">*</span><%=OrderItem.ALIAS_COST%>:
		</td>		
		<td>
		<form:input path="orderItem.cost" id="cost" cssClass="required validate-number " maxlength="12" />
		<font color='red'><form:errors path="cost"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><span class="required">*</span><%=OrderItem.ALIAS_PRICE%>:</label>
		<form:input path="orderItem.price" id="price" cssClass="required validate-number  text-input medium-input " maxlength="12" />
		<font color='red'><form:errors path="price"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<span class="required">*</span><%=OrderItem.ALIAS_PRICE%>:
		</td>		
		<td>
		<form:input path="orderItem.price" id="price" cssClass="required validate-number " maxlength="12" />
		<font color='red'><form:errors path="price"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_NUMBER%>:</label>
		<form:input path="orderItem.number" id="number" cssClass="validate-integer max-value-2147483647 text-input medium-input " maxlength="10" />
		<font color='red'><form:errors path="number"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_NUMBER%>:
		</td>		
		<td>
		<form:input path="orderItem.number" id="number" cssClass="validate-integer max-value-2147483647" maxlength="10" />
		<font color='red'><form:errors path="number"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_AMOUNT%>:</label>
		<form:input path="orderItem.amount" id="amount" cssClass="validate-number  text-input medium-input " maxlength="12" />
		<font color='red'><form:errors path="amount"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_AMOUNT%>:
		</td>		
		<td>
		<form:input path="orderItem.amount" id="amount" cssClass="validate-number " maxlength="12" />
		<font color='red'><form:errors path="amount"/></font>
		</td>
	</tr>	 --%>
	
	<p>
		<label><%=OrderItem.ALIAS_TASTE%>:</label>
		<form:input path="orderItem.taste" id="taste" cssClass=" text-input medium-input " maxlength="100" />
		<font color='red'><form:errors path="taste"/></font>
	</p>
	<%-- <tr>	
		<td class="tdLabel">
			<%=OrderItem.ALIAS_TASTE%>:
		</td>		
		<td>
		<form:input path="orderItem.taste" id="taste" cssClass="" maxlength="100" />
		<font color='red'><form:errors path="taste"/></font>
		</td>
	</tr>	 --%>
	


